<?php
use Library\Route\Route;

Route::any('/',[], function() {
    echo 'hello world';
});

Route::get('/a', ['id' => '/[0-9]+/', 'name' => '/[a-z]+/'], function(){
   echo 'this is a';
}, "Application@Index#a");
// todo Application / IndexController / aAction

Route::post('/b', [], function() {
   echo 'post test';
});